//
//  MoreBubbleViewController.h
//  KidReading
//
//  Created by telen on 15/12/7.
//  Copyright © 2015年 刘赞黄Telen. All rights reserved.
//

#import "BaseViewController.h"

typedef enum : NSUInteger {
    MoreBooksOrderType_none = 0,
    MoreBooksOrderType_popular = 1,
    MoreBooksOrderType_abc = 3,
    MoreBooksOrderType_readingtime = 4,
    MoreBooksOrderType_favoritetime = 5,
    MoreBooksOrderType_new = 6,
    MoreBooksOrderType_bookIds = 7,
} MoreBooksOrderType;

@protocol MoreBubbleViewController_Delegate <NSObject>

@optional
- (void)moreBubbleViewController_select:(MoreBooksOrderType)odertype;

@end

@interface MoreBubbleViewController : BaseViewController
@property(nonatomic,weak)UIView* followView;
@property(nonatomic,assign)MoreBooksOrderType currentOrderType;
@property(nonatomic,strong)NSArray* orderByArr;
@property(nonatomic,weak)id<MoreBubbleViewController_Delegate> delegate;
//bubbleView细化属性
@property (nonatomic, assign) CGFloat yRate;
@property (nonatomic, assign) CGFloat arrorHeight;
@property (nonatomic, assign) CGFloat arrorAngle;
@property (nonatomic, assign) CGFloat itemWidth;
@property (nonatomic, assign) CGFloat itemHeight;
@property (nonatomic, assign) CGFloat radius;

- (void)showBubbleViewToVC:(UIViewController*)vc;
- (void)showBubbleViewSelfDefineToVC:(UIViewController *)vc;
@end
